package com.mallcloud.mall.admin.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.mallcloud.mall.common.core.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel(value = "SysDictItem", description = "字典项")
@Data
@TableName(value = "sys_dict_item", autoResultMap = true)
public class SysDictItem extends BaseModel {

	@TableId(type = IdType.AUTO)
	@ApiModelProperty(value = "字典项id")
	private Long id;

	@ApiModelProperty(value = "所属字典类id")
	private Long dictId;

	@ApiModelProperty(value = "数据值")
	private String itemValue;

	@ApiModelProperty(value = "标签名")
	private String label;

	@ApiModelProperty(value = "类型")
	private String dictType;

	@ApiModelProperty(value = "描述")
	private String description;

	@ApiModelProperty(value = "排序值，默认升序")
	private Integer sortOrder;

	@ApiModelProperty(value = "备注信息")
	private String remarks;

}
